const { defineConfig } = require('@vue/cli-service')
const stylePx2remLoader = require.resolve('./src/untils/style-px2rem-loader.js')
console.log("进行打包")
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  chainWebpack:config => {
    config.module
    .rule('vue')
    .test(/\.vue$/)
    .use(stylePx2remLoader)
    .loader(stylePx2remLoader)
    .end()
  }
})
